package com.bsoft.gol.editor.editor;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 表单权限表
 */
@Entity(name="EditorAuthority")
@Table(name = "editor_authority", catalog = "")
public class EditorAuthority implements Serializable {
    private String id;
    private String authorityOrg;
    private String authorityDept;
    private String questionnaireId;
    private String createId;
    private Date createTime;
    private String authorityDeptName;
    private String authorityOrgName;
    private String authorityUser;
    private String authorityUserName;
    private String alterId;
    private Date alterTime;
    private String type;
    private String status;

    @Id
    @Column(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "authority_org")
    public String getAuthorityOrg() {
        return authorityOrg;
    }

    public void setAuthorityOrg(String authorityOrg) {
        this.authorityOrg = authorityOrg;
    }

    @Basic
    @Column(name = "authority_dept")
    public String getAuthorityDept() {
        return authorityDept;
    }

    public void setAuthorityDept(String authorityDept) {
        this.authorityDept = authorityDept;
    }

    @Basic
    @Column(name = "questionnaire_id")
    public String getQuestionnaireId() {
        return questionnaireId;
    }

    public void setQuestionnaireId(String questionnaireId) {
        this.questionnaireId = questionnaireId;
    }

    @Basic
    @Column(name = "create_id")
    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "authority_dept_name")
    public String getAuthorityDeptName() {
        return authorityDeptName;
    }

    public void setAuthorityDeptName(String authorityDeptName) {
        this.authorityDeptName = authorityDeptName;
    }

    @Basic
    @Column(name = "authority_org_name")
    public String getAuthorityOrgName() {
        return authorityOrgName;
    }

    public void setAuthorityOrgName(String authorityOrgName) {
        this.authorityOrgName = authorityOrgName;
    }

    @Basic
    @Column(name = "authority_user")
    public String getAuthorityUser() {
        return authorityUser;
    }

    public void setAuthorityUser(String authorityUser) {
        this.authorityUser = authorityUser;
    }

    @Basic
    @Column(name = "authority_user_name")
    public String getAuthorityUserName() {
        return authorityUserName;
    }

    public void setAuthorityUserName(String authorityUserName) {
        this.authorityUserName = authorityUserName;
    }

    @Basic
    @Column(name = "alter_id")
    public String getAlterId() {
        return alterId;
    }

    public void setAlterId(String alterId) {
        this.alterId = alterId;
    }

    @Basic
    @Column(name = "alter_time")
    public Date getAlterTime() {
        return alterTime;
    }

    public void setAlterTime(Date alterTime) {
        this.alterTime = alterTime;
    }

    @Basic
    @Column(name = "type")
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Basic
    @Column(name = "status")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}